package com.wyix.entity;

import java.util.List;

/**
 * @author wangdx
 * @since 2025/8/1
 */
public class Order {
    private String id;
    private String productName;
    private String orderId;
    private String userId;
    private List<String> productIds;
    private int amount;
    private String status;

    public Order() {
    }

    public Order(String id, String productName, int amount) {
        this.id = id;
        this.productName = productName;
        this.amount = amount;
    }

    // Getter方法省略
    public String getId() {
        return id;
    }

    public double getAmount() {
        return amount;
    }

    public String getProductName() {
        return productName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<String> getProductIds() {
        return productIds;
    }

    public void setProductIds(List<String> productIds) {
        this.productIds = productIds;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
